export default {
  // 用户token
  personalToken: (state) => state.personal.token,
  // 用户信息
  personalInfo: (state) => state.personal.info,
  // 授权部门
  depts: (state) => state.personal.depts,

  // 菜单列表
  menus: (state) => state.menu.menus,
  // 权限列表
  permissions: (state) => state.menu.permissions,
  // 首页菜单
  indexMenu: (state) => state.menu.indexMenu,
  // 客户端链接
  clientLinks: (state) => state.menu.clientLinks,
  // 菜单是否展开
  menuCollapse: (state) => state.menu.collapse,

  // 标签页
  viewTabs: (state) => state.viewTab.viewTabs,
  // 缓存页面
  keepAlive: (state) => state.viewTab.keepAlive,

  // 错误日志
  errorLogs: (state) => state.errorLog.logs,

  device: (state) => state.device.device,

  deviceUser: (state) => state.device.deviceUser,
}
